<?php
class Blog_Bootstrap extends Zend_Application_Module_Bootstrap
{
    public function _initAutoload()
    {
        $module = 'blog';
        $autoloader = new Zend_Application_Module_Autoloader(array(
                'namespace' => ucfirst($module),
                'basePath'  => APPLICATION_PATH . '/modules/' . strtolower($module),
            ));
        
        return $autoloader;
    }
    
    /*protected function _initView()
    {
        // Initialize view
        $view = new Zend_View();

        // Add view helper path
        $view->addHelperPath(
            APPLICATION_PATH . '/modules/blog/views/helpers',
            'Blog_View_Helper'
        );

        // Add the view to the ViewRenderer
        $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper(
            'ViewRenderer'
        );
        $viewRenderer->setView($view);
        
        // Return it, so that it can be stored by the bootstrap
        return $view;
    }*/
}
?>
